package com.example.dell.fragment;

import android.view.View;

import com.example.dell.basic.BasicFragment;
import com.example.dell.basicapplication.R;

public class ShopFragment extends BasicFragment {
    private boolean isSHow = false;
    @Override
    protected int setLayoutResourceID() {
        return R.layout.shop_fragment_layout;
    }

    @Override
    protected void initView(View fNormalView) {
        getTitletext().setText("商品列表");
        getLeft().setVisibility(View.GONE);
        getRight().setVisibility(View.GONE);
    }

    @Override
    protected void initData() {
        if (!isSHow) {
            autoShowPager(false,null);
        }else {
            autoShowPager(true,"");
        }
        isSHow = !isSHow;
    }
}
